<cfcomponent output="false" alias="slr.components.cfgenerated.Medicao_Detail.PontoInteresseBean">
	<!---
		 These are properties that are exposed by this CFC object.
		 These property definitions are used when calling this CFC as a web services, 
		 passed back to a flash movie, or when generating documentation

		 NOTE: these cfproperty tags do not set any default property values.
	--->
	<cfproperty name="medicaoId" type="numeric" default="0">
	<cfproperty name="pontoInteresseId" type="numeric" default="0">
	<cfproperty name="tipoEstruturaId" type="numeric" default="0">
	<cfproperty name="tipoOcupacao" type="numeric" default="0">
	<cfproperty name="distancia" type="numeric" default="0">
	<cfproperty name="rotulo" type="string" default="">
	<cfproperty name="radiacaoPrimaria" type="numeric" default="0">
	<cfproperty name="vizinhanca" type="string" default="">
	<cfproperty name="fatorUsoId" type="numeric" default="0">
	<cfproperty name="fatorOcupacaoId" type="numeric" default="0">

	<cfscript>
		//Initialize the CFC with the default properties values.
		variables.medicaoId = 0;
		variables.pontoInteresseId = 0;
		variables.tipoEstruturaId = 0;
		variables.tipoOcupacao = 0;
		variables.distancia = 0;
		variables.rotulo = "";
		variables.radiacaoPrimaria = 0;
		variables.vizinhanca = "";
		variables.fatorUsoId = 0;
		variables.fatorOcupacaoId = 0;
	</cfscript>

	<cffunction name="init" output="false" returntype="PontoInteresseBean">
		<cfreturn this>
	</cffunction>
	<cffunction name="getMedicaoId" output="false" access="public" returntype="any">
		<cfreturn variables.MedicaoId>
	</cffunction>

	<cffunction name="setMedicaoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.MedicaoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getPontoInteresseId" output="false" access="public" returntype="any">
		<cfreturn variables.PontoInteresseId>
	</cffunction>

	<cffunction name="setPontoInteresseId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.PontoInteresseId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getTipoEstruturaId" output="false" access="public" returntype="any">
		<cfreturn variables.TipoEstruturaId>
	</cffunction>

	<cffunction name="setTipoEstruturaId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.TipoEstruturaId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getTipoOcupacao" output="false" access="public" returntype="any">
		<cfreturn variables.TipoOcupacao>
	</cffunction>

	<cffunction name="setTipoOcupacao" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.TipoOcupacao = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getDistancia" output="false" access="public" returntype="any">
		<cfreturn variables.Distancia>
	</cffunction>

	<cffunction name="setDistancia" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.Distancia = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getRotulo" output="false" access="public" returntype="any">
		<cfreturn variables.Rotulo>
	</cffunction>

	<cffunction name="setRotulo" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.Rotulo = arguments.val>
	</cffunction>

	<cffunction name="getRadiacaoPrimaria" output="false" access="public" returntype="any">
		<cfreturn variables.RadiacaoPrimaria>
	</cffunction>

	<cffunction name="setRadiacaoPrimaria" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.RadiacaoPrimaria = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getVizinhanca" output="false" access="public" returntype="any">
		<cfreturn variables.Vizinhanca>
	</cffunction>

	<cffunction name="setVizinhanca" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfset variables.Vizinhanca = arguments.val>
	</cffunction>

	<cffunction name="getFatorUsoId" output="false" access="public" returntype="any">
		<cfreturn variables.FatorUsoId>
	</cffunction>

	<cffunction name="setFatorUsoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.FatorUsoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>

	<cffunction name="getFatorOcupacaoId" output="false" access="public" returntype="any">
		<cfreturn variables.FatorOcupacaoId>
	</cffunction>

	<cffunction name="setFatorOcupacaoId" output="false" access="public" returntype="void">
		<cfargument name="val" required="true">
		<cfif (IsNumeric(arguments.val)) OR (arguments.val EQ "")>
			<cfset variables.FatorOcupacaoId = arguments.val>
		<cfelse>
			<cfthrow message="'#arguments.val#' is not a valid numeric"/>
		</cfif>
	</cffunction>



</cfcomponent>